package com.rzj.sys_lab_assistant.dao;

import com.rzj.sys_lab_assistant.entity.Assistant;
import com.rzj.sys_lab_assistant.entity.bo.AssistantBO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-06-29 18:01
 */
@Mapper
public interface AssistantMapper {

    List<AssistantBO> listAssistants();

    List<AssistantBO> listAssistantsById(String account);

    AssistantBO getAssistantById(int aId);

    int saveAssistant(Assistant assistant);

    int updateAssistant(Assistant assistant);

    int updateAssistantByStatus(Assistant assistant);

    int deleteAssistant(int aId);

}
